﻿namespace WebApi.Models
{
    /// <summary>
    /// TestJsonPatch model.
    /// </summary>
    public class TestJsonPatch
    {
        /// <summary>
        /// Unique identifier for the test.
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// Name of the test.
        /// </summary>
        public string? Name { get; set; }
        /// <summary>
        /// Description of the test.
        /// </summary>
        public string? Description { get; set; }
        /// <summary>
        /// Secret key for the test.
        /// </summary>
        public string? Secret { get; set; }
        /// <summary>
        /// Indicates whether the test is complete.
        /// </summary>
        public bool IsComplete { get; set; }
        /// <summary>
        /// Indicates whether the test is deleted.
        /// </summary>
        public DateTime AddTime { get; set; } = DateTime.Now;
        /// <summary>
        /// The user who added the test.
        /// </summary>
        public string? AddUser { get; set; } = "wja";
        /// <summary>
        /// The time when the test was last updated.
        /// </summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// The user who last updated the test.
        /// </summary>
        public string? UpdateUser { get; set; }
    }
}
